﻿<?xml version="1.0" encoding="utf-8" ?>
<summer xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema">
  <ioc>
    <root class="Summer.Web.Context.WebContextContainer,Summer.Web.dll"/>
    <containers>
      <object name="config" class="Summer.Core.Ioc.Context"></object>
      <object name="default" class="Summer.Core.Ioc.Context"></object>
    </containers>
    <contexts>
      <context name="config">
        <object name="Home" >
          <property name="Number" value="random"></property>
        </object>
      </context>
      <context name="default">
        <object name="random" class="" ref="randomImpl"></object>
        <object name="randomImpl" class="MvcIocDemo.Services.RandomNumberMakerService,MvcIocDemo.dll" singleton="true"></object>
      </context>
    </contexts>
  </ioc>
</summer>